from django.urls import path, include
from rest_framework.routers import DefaultRouter

from .views import ExecuteViewSet, RepositoryViewSet

router = DefaultRouter()
router.register("repository", RepositoryViewSet, basename='repository')
router.register("task", ExecuteViewSet, basename='task')

urlpatterns = [
    path('', include(router.urls)),
]